package site.brood.mall.pms.brand;


import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("品牌实体类")  //Swagger注解
//表名与实体类名不一致时，指定数据库表名
@TableName("pms_brand")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PmsBrand {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("首字母")
    private String firstLetter;

    @ApiModelProperty("排序序号")
    private Long sort;

    @ApiModelProperty("是否为品牌制造商：0->不是；1->是")
    private Long factoryStatus;

    @ApiModelProperty("是否上架")
    private Long showStatus;

    @ApiModelProperty("产品数量")
    private Long productCount;

    @ApiModelProperty("产品评论数量")
    private Long productCommentCount;

    @ApiModelProperty("品牌logo")
    private String logo;

    @ApiModelProperty("专区大图")
    private String bigPic;

    @ApiModelProperty("品牌故事")
    private String brandStory;

}